projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
084f76f
)
(FAST_MAKE_GLYPH): Rename args to CHAR and FACE.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 21 Jan 1997 05:38:46 +0000
(
05:38
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 21 Jan 1997 05:38:46 +0000
(
05:38
+0000)
Cast CHAR to unsigned char before using it.
src/lisp.h
patch
|
blob
|
history
diff --git
a/src/lisp.h
b/src/lisp.h
index f478539f2cbb0744a04d5b19a508d52127496677..e6a7e6ed04ffa0d59331b4e53f1928c99375049c 100644
(file)
--- a/
src/lisp.h
+++ b/
src/lisp.h
@@
-877,7
+877,7
@@
typedef unsigned char UCHAR;
/* The FAST macros assume that we already know we're in an X window. */
/* Given a character code and a face ID, return the appropriate glyph. */
-#define FAST_MAKE_GLYPH(
char, face) ((char) | ((face
) << 8))
+#define FAST_MAKE_GLYPH(
CHAR, FACE) ((unsigned char) (CHAR) | ((FACE
) << 8))
/* Return a glyph's character code. */
#define FAST_GLYPH_CHAR(glyph) ((glyph) & 0xff)